package com.zzyl.mapper;

import com.github.pagehelper.Page;
import com.zzyl.entity.NursingProject;
import com.zzyl.vo.NursingProjectVo;
import org.apache.ibatis.annotations.Mapper;

/**
 * 护理项目Mapper接口
 */
@Mapper
public interface NursingProjectMapper {

    //护理项目分页条件查询
    Page<NursingProjectVo> getByPage(String name, Integer status);

    //添加护理项目
    void insert(NursingProject nursingProject);

    //根据id查询护理项目
    NursingProject selectById(Long id);

    //编辑更新护理项目 and 启用禁用护理项目
    void update(NursingProject nursingProject);

    //删除护理项目
    void deleteBuId(NursingProject nursingProject);
}